# -*- coding: utf-8 -*-
#条件判断
num = raw_input('Please input your balance:')
num = int(num)
if num > 0:
    print("You have money")
elif num == 0:
    print("You are out")
else:
    print("You seem to be in debt")

str = raw_input('Please input a string:')
if str.find('emergency') > 0:
    print("Do you wan to make this email urgent?")
elif str.count("joke") > 0:
    print("Do you want to set this email non-urgent?")